
#import "SEGServiceNbrChildListModel.h"
@implementation SEGServiceNbrChildListModel
- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
self = [super init];
if (self) {
[self setValuesForKeysWithDictionary:dictionary];
}
return self;
}
-(instancetype)init
{
self = [super init];
if (self) {
_menuSid = @"";
_action = @"";
_iosicon = @"";
_androidicon = @"";
_type = @"";
_widgetType = @"";
_rn = @"";
_serviceName = @"";
_serviceDesc = @"";
_userType = @"";
}
return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setMenuSid:(NSString*)menuSid{
_menuSid = [[SEGUtils ValueToString:menuSid]copy];
}
- (void)setAction:(NSString*)action{
_action = [[SEGUtils ValueToString:action]copy];
}
- (void)setIosicon:(NSString*)iosicon{
_iosicon = [[SEGUtils ValueToString:iosicon]copy];
}
- (void)setAndroidicon:(NSString*)androidicon{
_androidicon = [[SEGUtils ValueToString:androidicon]copy];
}
- (void)setType:(NSString*)type{
_type = [[SEGUtils ValueToString:type]copy];
}
- (void)setWidgetType:(NSString*)widgetType{
_widgetType = [[SEGUtils ValueToString:widgetType]copy];
}
- (void)setRn:(NSString*)rn{
_rn = [[SEGUtils ValueToString:rn]copy];
}
- (void)setServiceName:(NSString*)serviceName{
_serviceName = [[SEGUtils ValueToString:serviceName]copy];
}
- (void)setServiceDesc:(NSString*)serviceDesc{
_serviceDesc = [[SEGUtils ValueToString:serviceDesc]copy];
}
- (void)setUserType:(NSString*)userType{
_userType = [[SEGUtils ValueToString:userType]copy];
}
@end
